labelme.spec
add:
# -*- mode: python -*-
# vim: ft=python
import sys
sys.setrecursionlimit(5000)


cmd:
chcp 65001
pyinstaller labelme.spec